

package com.maoshi.shop.user.comment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maoshi.shop.user.comment.model.Coupon;
import com.maoshi.shop.user.comment.model.UserLevelCategory;
import com.maoshi.shop.user.comment.model.UserLevelCoupon;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 *
 * @author LGH
 * @date 2020-02-26 16:03:14
 */
public interface UserLevelCouponMapper extends BaseMapper<UserLevelCoupon> {


    void insertBatchCoupon(@Param("coupons") Long[] coupons, @Param("id") Long id);

    void delBatchCoupon(@Param("coupons") Long[] coupons, @Param("id") Long id);

    List<Coupon> getCouponListByLevelId(@Param("id")Long id);
}
